package com.hznu.ez4life.modules.service;

import com.hznu.ez4life.modules.entity.Needitem;
import com.baomidou.mybatisplus.service.IService;
import com.hznu.ez4life.myBeans.NeedItemSearch;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DragonDoor
 * @since 2019-07-25
 */
public interface NeeditemService extends IService<Needitem> {

    List<Needitem> findListByUserId(Integer userId);
    List<Needitem> findBatchByCondition(NeedItemSearch needItemSearch);
    Needitem findById(Integer id);
}
